﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GUI
{
    public partial class MainForm1 : Form
    {
        public MainForm1()
        {
            InitializeComponent();
        }

        private void cácLoạiSữaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCacLoaiSua form = new FormCacLoaiSua();
            //form.MdiParent = this;
            form.Show();
        }

        private void danhSáchTàiXếToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTaiXe form = new FormTaiXe();
            //form.MdiParent = this;
             form.Show();
        }

        private void danhSáchXeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormDanhSachXeCongTy form = new FormDanhSachXeCongTy();
            //form.MdiParent = this;
            form.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void tiếpNhậnXeMớiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTiepNhanXe form = new FormTiepNhanXe();
            //form.MdiParent = this;
            form.Show();
        }

        private void tiếpNhậnĐịaĐiểmMớiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTiepNhanDiaDiemKhachHang form = new FormTiepNhanDiaDiemKhachHang();
            //form.MdiParent = this;
            form.Show();
        }

        private void cungCấpNhiênLiệuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCungCapNhienLieu form = new FormCungCapNhienLieu();
            //form.MdiParent = this;
            form.Show();
        }

        private void nhậpHóaĐơnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormNhapDonDatHang form = new FormNhapDonDatHang();
            //form.MdiParent = this;
            form.Show();
        }

        private void xuâtHóaĐơnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormKiemTraGiaoHang form = new FormKiemTraGiaoHang();
            //form.MdiParent = this;
            form.Show();
        }

        private void phânCôngGiaoHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormPhanCongGiaoHang form = new FormPhanCongGiaoHang();
            //form.MdiParent = this;
            form.Show();
        }

        private void thôngTinĐạiLíToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormTimKiemThongTinChung form = new FormTimKiemThongTinChung();
            //form.MdiParent = this;
            form.Show();
        }

        private void MainForm1_Load(object sender, EventArgs e)
        {

        }
    }
}